package com.moji.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 解决方案表
 * </p>
 *
 * @author myg
 * @since 2024-07-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="MjSolution对象", description="解决方案表")
public class MjSolution extends Model<MjSolution> {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "解决方案名称")
    private String solutionName;

    @ApiModelProperty(value = "解决方案类型 ")
    private Long solutionType;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "图片")
    private String pic;

    @ApiModelProperty(value = "描述")
    private String contentDesc;

    @ApiModelProperty(value = "视频地址")
    private String videoUrl;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "页面排序")
    private Integer sort;

    @ApiModelProperty(value = "服务及优势描述")
    private String firstDesc;

    @ApiModelProperty(value = "服务案例描述")
    private String secondDesc;

    @ApiModelProperty(value = "解决方案适用场景描述")
    private String threeDesc;
    /**
     * seo标题
     */
    @ApiModelProperty(value = "seo标题")
    private String seoTitle;
    /**
     * seo描述
     */
    @ApiModelProperty(value = "seo描述")
    private String seoDesc;
    /**
     * seo关键词
     */
    @ApiModelProperty(value = "seo关键词")
    private String seoKeys;

    @ApiModelProperty(value = "前端需求，不能为空，不能重复")
    private String router;

    @ApiModelProperty(value = "前端需求")
    private String alt;
    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
